//
//  Constants.h
//  WeddingStoreFinder
//
//  Created by Macdev on 11/19/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Constants : NSObject

#define kWSType_UpdatePOI 10
#define kWSType_UpdateDress 20
#define kWSType_CheckForUpdate 30

#define kURL_Base @"http://fic-storefinder.appspot.com/storefinder/"
#define kURLSuffix_CheckForUpdate @"checkforupdate?format=json"
#define kURLSuffix_UpdatePOI @"getpoilist?format=json&lastUpdateTimestamp="
#define kURLSuffix_UpdateDress @"getrobelist?format=json&lastUpdateTimestamp="

#define kErrorCode_NoConnection 219
#define kErrorCode_Exception 220

#define kJSON_response @"response"
#define kJSON_lastUpdateTimestamp @"lud"
#define kJSON_containsError @"containsError"
#define kJSON_error @"error"
#define kJSON_errorMessage @"errorMessage"

#define kJSON_id @"id"
#define kJSON_longitude @"lo"
#define kJSON_latitude @"la"
#define kJSON_status @"s"
#define kJSON_city @"c"
#define kJSON_address @"a"
#define kJSON_phone @"p"
#define kJSON_name @"n"
#define kJSON_zipcode @"z"
#define kJSON_description @"d"
#define kJSON_currency @"c"
#define kJSON_price @"p"
#define kJSON_poiid @"pid"
#define kJSON_imagename @"i"
#define kJSON_available @"a"

#define kPOIStatus_OK 10
#define kPOIStatus_toDelete 20
#define kDressStatus_OK 10
#define kDressStatus_toDelete 20

#define kNotification_MapViewController_ReloadMap @"MapViewController_ReloadMap"
#define kNotification_StoreListviewController_ReloadList @"StoreListviewController_ReloadList"
#define kNotification_RobeListViewController_ReloadList @"RobeListViewController_ReloadList"
#define kNotification_PopAllViewControllerToRoot @"PopAllViewControllerToRoot"

#define kImageDownloadBaseUrl @"http://download.wanari.hu/wspics/"

#define kPlatform_iPhone 10
#define kPlatform_iPad 20
#define kPlatform_iPod 30
#define kPlatform_Unknown 40
#define kPlatform_iPhoneSimulator 50


@end
